package models;

import javax.persistence.*;
import java.math.BigDecimal;

@Entity
@Table(name = "t_UserRoute")
public class UserRoute_C_Entity {
    private int id;
    private int applicationId;
    private String createTime;
    private String modifyTime;
    private int status;
    private int userId;
    private Double currentLat;
    private Double currentLng;
    private String currentTime;
    private BigDecimal startmileage;
    private BigDecimal stopmileage;
    private BigDecimal fdMileage;
    private String fdTruckNumber;
    private String applyNumber;
    private Double confirmLat;
    private Double confirmLng;
    private String confirmTime;
    private String UnloadPlace;
    private String ConfirmStatus;
    private String ConfirmUnloadPlace;

    @Id
    @GeneratedValue(strategy= GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Basic
    @Column(name = "applicationId", nullable = false)
    public int getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(int applicationId) {
        this.applicationId = applicationId;
    }

    @Basic
    @Column(name = "createTime", nullable = false)
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "modifyTime", nullable = false)
    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Basic
    @Column(name = "status", nullable = false)
    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Basic
    @Column(name = "userId", nullable = false)
    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    @Basic
    @Column(name = "CurrentLat", nullable = true, precision = 0)
    public Double getCurrentLat() {
        return currentLat;
    }

    public void setCurrentLat(Double currentLat) {
        this.currentLat = currentLat;
    }

    @Basic
    @Column(name = "CurrentLng", nullable = true, precision = 0)
    public Double getCurrentLng() {
        return currentLng;
    }

    public void setCurrentLng(Double currentLng) {
        this.currentLng = currentLng;
    }

    @Basic
    @Column(name = "CurrentTime", nullable = true)
    public String getCurrentTime() {
        return currentTime;
    }

    public void setCurrentTime(String currentTime) {
        this.currentTime = currentTime;
    }

    @Basic
    @Column(name = "Startmileage", nullable = true, precision = 1)
    public BigDecimal getStartmileage() {
        return startmileage;
    }

    public void setStartmileage(BigDecimal startmileage) {
        this.startmileage = startmileage;
    }

    @Basic
    @Column(name = "Stopmileage", nullable = true, precision = 1)
    public BigDecimal getStopmileage() {
        return stopmileage;
    }

    public void setStopmileage(BigDecimal stopmileage) {
        this.stopmileage = stopmileage;
    }

    @Basic
    @Column(name = "fd_mileage", nullable = true, precision = 1)
    public BigDecimal getFdMileage() {
        return fdMileage;
    }

    public void setFdMileage(BigDecimal fdMileage) {
        this.fdMileage = fdMileage;
    }

    @Basic
    @Column(name = "fd_TruckNumber", nullable = true, length = 50)
    public String getFdTruckNumber() {
        return fdTruckNumber;
    }

    public void setFdTruckNumber(String fdTruckNumber) {
        this.fdTruckNumber = fdTruckNumber;
    }

    @Basic
    @Column(name = "apply_number", nullable = true, length = 50)
    public String getApplyNumber() {
        return applyNumber;
    }

    public void setApplyNumber(String applyNumber) {
        this.applyNumber = applyNumber;
    }

    @Basic
    @Column(name = "confirmLat", nullable = true, precision = 0)
    public Double getConfirmLat() {
        return confirmLat;
    }

    public void setConfirmLat(Double confirmLat) {
        this.confirmLat = confirmLat;
    }

    @Basic
    @Column(name = "confirmLng", nullable = true, precision = 0)
    public Double getConfirmLng() {
        return confirmLng;
    }

    public void setConfirmLng(Double confirmLng) {
        this.confirmLng = confirmLng;
    }

    @Basic
    @Column(name = "confirmTime", nullable = true)
    public String getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(String confirmTime) {
        this.confirmTime = confirmTime;
    }

    @Basic
    @Column(name = "UnloadPlace", nullable = true)
    public String getUnloadPlace() {
        return UnloadPlace;
    }

    public void setUnloadPlace(String unloadPlace) {
        UnloadPlace = unloadPlace;
    }

    @Basic
    @Column(name = "ConfirmStatus", nullable = true)
    public String getConfirmStatus() {
        return ConfirmStatus;
    }

    public void setConfirmStatus(String confirmStatus) {
        ConfirmStatus = confirmStatus;
    }

    @Basic
    @Column(name = "ConfirmUnloadPlace", nullable = true)
    public String getConfirmUnloadPlace() {
        return ConfirmUnloadPlace;
    }

    public void setConfirmUnloadPlace(String confirmUnloadPlace) {
        ConfirmUnloadPlace = confirmUnloadPlace;
    }
}
